package com.bootdo.blog.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.blog.dao.InspectionMapper;
import com.bootdo.blog.domain.InspectionDO;
import com.bootdo.blog.service.InspectionService;



@Service
public class InspectionServiceImpl implements InspectionService {
	@Autowired
	private InspectionMapper inspectionMapper;
	
	@Override
	public InspectionDO get(Integer inspectionId){
		return inspectionMapper.get(inspectionId);
	}
	
	@Override
	public List<InspectionDO> list(Map<String, Object> map){
		return inspectionMapper.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return inspectionMapper.count(map);
	}
	
	@Override
	public int save(InspectionDO inspection){
		return inspectionMapper.save(inspection);
	}
	
	@Override
	public int update(InspectionDO inspection){
		return inspectionMapper.update(inspection);
	}
	
	@Override
	public int remove(Integer inspectionId){
		return inspectionMapper.remove(inspectionId);
	}
	
	@Override
	public int batchRemove(Integer[] inspectionIds){
		return inspectionMapper.batchRemove(inspectionIds);
	}
	
}
